failure 128:
Requirement failed: {remquof.07.01.01} Function executed successfully with EOK error code, while `(isInfinity_Unifloat(x) && !isNan_Unifloat(y)) || (isZero_Unifloat(y) && !isNan_Unifloat(x)) == true` means that EDOM SHALL be set
location |
trace |
/var/opt/lsb/test/olver-core/2013-07-25_08-37-08/math_real_scenario.utz (math_real_scenario.utt), line 19220 |
occurence |
scenario |
math_real_scenario |
specification function |
remquo_spec() |
parameter value |
CallContext context = [pid=22148,thr=b74f9700] |
parameter value |
Unifloat * @x = (float) Infinity |
parameter value |
Unifloat * x = (float) Infinity |
parameter value |
Unifloat * @y = (float) 1.2300000000000000e+02 (0x.F6000000P7F) |
parameter value |
Unifloat * y = (float) 1.2300000000000000e+02 (0x.F6000000P7F) |
parameter value |
Unifloat ** @quo = <0xbfe59738>ptr to <NULL> |
parameter value |
Unifloat ** quo = <0xbfe59738>ptr to (float) 0.0000000000000000e+00 (0x.00000000P1F) |
parameter value |
ErrorCode * @errno = EOK |
parameter value |
ErrorCode * errno = EOK |
return value |
(Unifloat *) (float) NaN |
coverage & branch |
C x is infinite and y is non-NaN |
properties |
REQ failed |
remquof.07.01.01 |
expected value |
(float) NaN |
kind |
POSTCONDITION_FAILED |
similar known bug(s)
The remquo(x, y, quo) family of functions shall return the floating-point remainder r = x-ny when y is non-zero
und update quo variable.
According to LSB, if the x argument is +Inf, -Inf, or the y argument is +0 or -0 and the other argument is non-NaN.
then error code shall be set to EDOM.
But on the target machine, the functions set error code EOK instead of EDOM in these cases.
|
|